All servicesDocs
Service
Anthropic
llm2 endpoints
Claude AI chat completions (Sonnet, Opus, Haiku) via native Anthropic Messages API and OpenAI-compatible chat completions. Pay per request with USDC on Tempo — no API keys required.
mpp
tempo
Methods
2 methods available
POST/v1/chat/completions10000 USDC
POST
/v1/chat/completionsOpenAI-compatible chat completions API for Claude models.
POST JSON body. OpenAI-compatible format — use if migrating from OpenAI.
{
"body": {
"model": "string (e.g. 'claude-sonnet-4-5-20250514')",
"messages": [
{
"role": "string ('system'|'user'|'assistant')",
"content": "string"
}
],
"max_tokens": "number (optional)",
"temperature": "number (optional)",
"stream": "boolean (optional)"
}
}POST/v1/messages10000 USDC
POST
/v1/messagesSend messages to Claude using the native Anthropic Messages API. Supports Claude 4.5 Sonnet, Opus, and Haiku models.
POST JSON body with model, max_tokens, and messages. Use 'Content-Type: application/json' and 'anthropic-version: 2023-06-01' headers.
{
"body": {
"model": "string (e.g. 'claude-sonnet-4-5-20250514', 'claude-opus-4-5-20250514', 'claude-haiku-4-5-20251001')",
"max_tokens": "number (required)",
"messages": [
{
"role": "string ('user'|'assistant')",
"content": "string"
}
],
"temperature": "number (0-1, optional)",
"system": "string (optional, system prompt)",
"stream": "boolean (optional)"
}
}