from anthropic import Anthropic
import os
# 💥 Create an Anthropic client, pointed at Muna
anthropic = Anthropic(
api_key=os.environ["MUNA_API_KEY"],
base_url="https://inference.muna.ai"
)
# 🔥 List available models
models = anthropic.models.list()
# 🚀 Print the model tags
for model in models:
print(model.id)
import Anthropic from "@anthropic-ai/sdk"
// 💥 Create an Anthropic client, pointed at Muna
const anthropic = new Anthropic({
apiKey: process.env.MUNA_API_KEY,
baseURL: "https://inference.muna.ai"
});
// 🔥 List available models
const models = await anthropic.models.list();
// 🚀 Print the model tags
for await (const model of models)
console.log(model.id);
curl https://inference.muna.ai/v1/models \
-H "x-api-key: $MUNA_API_KEY" \
-H "anthropic-version: 2023-06-01"
{
"data": [
{
"id": "@qwen/qwen-3.8-27b",
"type": "model",
"display_name": "qwen-3.8-27b",
"created_at": "2026-08-26T20:51:52Z",
"max_input_tokens": 262144,
"max_tokens": 65536
}
],
"first_id": "@qwen/qwen-3.8-27b",
"last_id": "@qwen/qwen-3.8-27b",
"has_more": false
}
Anthropic
List Models
GET
/
v1
/
models
from anthropic import Anthropic
import os
# 💥 Create an Anthropic client, pointed at Muna
anthropic = Anthropic(
api_key=os.environ["MUNA_API_KEY"],
base_url="https://inference.muna.ai"
)
# 🔥 List available models
models = anthropic.models.list()
# 🚀 Print the model tags
for model in models:
print(model.id)
import Anthropic from "@anthropic-ai/sdk"
// 💥 Create an Anthropic client, pointed at Muna
const anthropic = new Anthropic({
apiKey: process.env.MUNA_API_KEY,
baseURL: "https://inference.muna.ai"
});
// 🔥 List available models
const models = await anthropic.models.list();
// 🚀 Print the model tags
for await (const model of models)
console.log(model.id);
curl https://inference.muna.ai/v1/models \
-H "x-api-key: $MUNA_API_KEY" \
-H "anthropic-version: 2023-06-01"
{
"data": [
{
"id": "@qwen/qwen-3.8-27b",
"type": "model",
"display_name": "qwen-3.8-27b",
"created_at": "2026-08-26T20:51:52Z",
"max_input_tokens": 262144,
"max_tokens": 65536
}
],
"first_id": "@qwen/qwen-3.8-27b",
"last_id": "@qwen/qwen-3.8-27b",
"has_more": false
}
Lists every model available on the inference API.
from anthropic import Anthropic
import os
# 💥 Create an Anthropic client, pointed at Muna
anthropic = Anthropic(
api_key=os.environ["MUNA_API_KEY"],
base_url="https://inference.muna.ai"
)
# 🔥 List available models
models = anthropic.models.list()
# 🚀 Print the model tags
for model in models:
print(model.id)
import Anthropic from "@anthropic-ai/sdk"
// 💥 Create an Anthropic client, pointed at Muna
const anthropic = new Anthropic({
apiKey: process.env.MUNA_API_KEY,
baseURL: "https://inference.muna.ai"
});
// 🔥 List available models
const models = await anthropic.models.list();
// 🚀 Print the model tags
for await (const model of models)
console.log(model.id);
curl https://inference.muna.ai/v1/models \
-H "x-api-key: $MUNA_API_KEY" \
-H "anthropic-version: 2023-06-01"
{
"data": [
{
"id": "@qwen/qwen-3.8-27b",
"type": "model",
"display_name": "qwen-3.8-27b",
"created_at": "2026-08-26T20:51:52Z",
"max_input_tokens": 262144,
"max_tokens": 65536
}
],
"first_id": "@qwen/qwen-3.8-27b",
"last_id": "@qwen/qwen-3.8-27b",
"has_more": false
}
This is the same endpoint as the OpenAI API. Each model carries the
fields that both SDKs expect.
Response
Model[]
required
Available models.
Show properties
Show properties
string
First model tag in the list.
string
Last model tag in the list.
boolean
required
Whether there are more models. Always
false.