Generate a new API key
View model pricing
| Property |
Value |
| Model ID |
axon-2-5-mini |
| Context Window |
1,000,000 tokens |
| Max Output |
128,000 tokens |
| Input Price |
$0.50 / 1M tokens |
| Output Price |
$2.00 / 1M tokens |
| Cached Input |
$0.25 / 1M tokens |
- Tool Calling
- Structured Outputs
- Web Search
- Text + Image Input
- Text Output
curl --location 'https://api2.matterai.so/v1/web/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer MATTERAI_API_KEY' \
--data '{
"model": "axon-2-5-mini",
"max_new_tokens": 2048,
"temperature": 0.1,
"messages": [
{
"role": "user",
"content": "Hi"
}
],
"stream": false
}'
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "MATTERAI_API_KEY",
baseURL: "https://api2.matterai.so/v1",
});
const response = await client.chat.completions.create({
model: "axon-2-5-mini",
messages: [{ role: "user", content: "Hi" }],
max_tokens: 2048,
temperature: 0.1,
});
console.log(response.choices[0].message.content);
from openai import OpenAI
client = OpenAI(
api_key="MATTERAI_API_KEY",
base_url="https://api2.matterai.so/v1"
)
response = client.chat.completions.create(
model="axon-2-5-mini",
messages=[
{"role": "user", "content": "Hi"}
],
max_tokens=2048,
temperature=0.1
)
print(response.choices[0].message.content)
Compare all available models
View full API documentation