{"uid":"cap_ubSbEbMEthhRETUIs-JYg","slug":"agents-llmapi-ai-llm-api-chat-completions-agents-llmapi-ai-a12a148b","name":"LLM API Chat Completions (agents.llmapi.ai)","description":"Proxies chat completion requests to upstream providers.","url":"https://agents.llmapi.ai/zc/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","example":{"model":"deepseek-v4-flash","stream":false,"messages":[{"role":"user","content":"Say hello in five words."}],"max_tokens":32},"required":["model","messages"],"properties":{"model":{"enum":["claude-opus-5","claude-sonnet-5","gpt-5.2","gpt-5.1","gpt-5-mini","gemini-3.1-pro-preview","gemini-3.7-flash","deepseek-v4-pro","deepseek-v4-flash","grok-4.6","kimi-k2.6","glm-5.3"],"type":"string","description":"One of the storefront model ids."},"stream":{"type":"boolean","description":"Must be false or omitted on this storefront."},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}}},"description":"OpenAI style message list."},"max_tokens":{"type":"integer","description":"Output token ceiling for this call."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"unknown","displayCostAsset":"USD","priceDynamic":true,"priceHint":null,"priceStatus":"unknown_unparsed","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"unknown","summary":"price unknown","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_KnOOan0d4XbdF2XV-F4DR","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"unknown","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.llmapi.ai","brandSlug":"agents-llmapi-ai-x402","brandBaseUrl":"https://agents.llmapi.ai","brandDocsUrl":null,"whatItDoes":"Generates a chat completion response from a curated set of frontier LLMs (GPT, Claude, Gemini, DeepSeek, Grok, Kimi, GLM) via an OpenAI-compatible interface, billed per call.","exampleAgentPrompt":"Using deepseek-v4-flash, send this message and give me the response with a max of 200 tokens: 'Summarize the concept of entropy in two sentences.'","exampleUseCases":[{"title":"Frontier model response routing","prompt":"Send the user's question to claude-opus-5 and return the answer — the question is: 'What are the main differences between supervised and unsupervised learning?' Cap the response at 300 tokens."},{"title":"Rapid prototyping with gpt-5-mini","prompt":"I need a quick answer from gpt-5-mini: ask it to write a three-sentence product description for a reusable water bottle, and keep it under 100 tokens."},{"title":"Multi-model comparison pipeline","prompt":"Run this prompt through both deepseek-v4-pro and gemini-3.7-flash: 'List five creative names for a jazz café.' Return both responses so I can compare them."}],"resultDescription":"Returns an OpenAI-style chat completion object containing the assistant's generated message, the model used, finish reason, and token usage counts (prompt tokens, completion tokens, total tokens). The response is synchronous (non-streaming).","failureModes":["Invalid or unsupported model ID returns a validation error","Exceeding max_tokens limit for the chosen model causes a truncation or error","stream:true is rejected — must be false or omitted","Missing required fields (model or messages) returns a 400 bad request","Payment/authentication failure returns a 401 or 402 error","Model-specific context length exceeded returns an error","Network timeout if the upstream LLM is slow to respond"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call access to a curated set of frontier models (GPT-5, Claude, Gemini, DeepSeek, Grok, Kimi, GLM) through a single OpenAI-compatible interface without managing per-provider subscriptions. It is especially useful for agents that need to dynamically select among multiple frontier models, want transparent per-call billing, or operate in environments where committing to a single provider subscription is impractical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T18:37:16.342Z","isFirstParty":false,"canonicalSlug":"agents-llmapi-ai-llm-api-chat-completions-agents-llmapi-ai-a12a148b"}