OpenAI-compatible LLM inference and chat completions across seven open-weight reasoning…
OpenAI-compatible LLM inference and chat completions across seven open-weight reasoning, coding, and vision models. Choose Kimi K3, Qwen3.6, Qwen3.8, GLM-5.2, GLM-5.3, GLM-5.3-Flash, or DeepSeek V4.1 Flash. Use them to generate text or JSON, analyze images, a…
by api.ai-open-models.com · discovered, not yet claimed by its owner · updated 2026-10-12
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
OpenAI-compatible LLM inference and chat completions across seven open-weight reasoning, coding, and vision models. Choose Kimi K3, Qwen3.6, Qwen3.8, GLM-5.2, GLM-5.3, GLM-5.3-Flash, or DeepSeek V4.1 Flash. Use them to generate text or JSON, analyze images, and call client-provided tools. Supports up to 4 images and selectable reasoning controls. Pricing is quoted dynamically from the prompt and max_tokens.
Tags: openai-compatible · llm · inference · vision · tool-calling · bazaar · builder-code · eip2612GasSponsoring · erc20ApprovalGasSponsoring
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-12
{
"max_tokens": 512,
"messages": [
{
"content": [
{
"text": "Identify this landmark, then use web search to find current visitor information. Return a JSON summary.",
"type": "text"
},
{
"image_url": {
"detail": "auto",
"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
},
"type": "image_url"
}
],
"role": "user"
}
],
"model": "Qwen/Qwen3.8-27B",
"parallel_tool_calls": true,
"provider": "deepinfra",
"reasoning_effort": "max",
"response_format": {
"type": "json_object"
},
"stream": false,
"temperature": 0.2,
"tool_choice": "auto",
"tools": [
{
"function": {
"description": "Search the web for current information.",
"name": "search_web",
"parameters": {
"additionalProperties": false,
"properties": {
"query": {
"description": "Search query.",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}
},
"type": "function"
}
]
}{
"choices": [
{
"finish_reason": "tool_calls",
"index": 0,
"message": {
"content": null,
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": "{\"query\":\"latest open-weight model release\"}",
"name": "search_web"
},
"id": "call_search_1",
"type": "function"
}
]
}
}
],
"created": 0,
"id": "chatcmpl-tool-example",
"model": "Qwen/Qwen3.8-27B",
"object": "chat.completion",
"usage": {
"completion_tokens": 32,
"prompt_tokens": 120,
"total_tokens": 152
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/33290.jsonfor the price and payment options. - Pay. Call
GET https://api.ai-open-models.com/v1/chat/completions. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 133 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0xdcdf184A64f6489Ec5304750a0AF157440115caE | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdcdf184A64f6489Ec5304750a0AF157440115caE",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"choices": {
"items": {
"properties": {
"finish_reason": {
"description": "Usually stop for a final response or tool_calls when client tool execution is requested.",
"type": "string"
},
"index": {
"type": "integer"
},
"message": {
"properties": {
"content": {
"description": "Assistant text. This may be null when the model requests tool execution.",
"type": [
"string",
"null"
]
},
"reasoning_content": {
"description": "Reasoning content when exposed by the selected model and provider.",
"type": "string"
},
"role": {
"const": "assistant",
"type": "string"
},
"tool_calls": {
"description": "Client-executed function calls requested by the model.",
"items": {
"additionalProperties": false,
"properties": {
"function": {
"additionalProperties": false,
"properties": {
"arguments": {
"description": "JSON-encoded function arguments generated by the model.",
"type": "string"
},
"name": {
"description": "Name of the client-provided function to execute.",
"type": "string"
}
},
"required": [
"name",
"arguments"
],
"type": "object"
},
"id": {
"description": "Opaque identifier used to associate a later tool-result message with this call.",
"type": "string"
},
"type": {
"const": "function",
"type": "string"
}
},
"required": [
"id",
"type",
"function"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"role",
"content"
],
"type": "object"
}
},
"required": [
"index",
"message",
"finish_reason"
],
"type": "object"
},
"type": "array"
},
"created": {
"type": "integer"
},
"id": {
"type": "string"
},
"model": {
"enum": [
"moonshotai/kimi-k3",
"Qwen/Qwen3.6-35B-A3B",
"zai-org/GLM-5.2",
"zai-org/GLM-5.3",
"zai-org/GLM-5.3-Flash",
"Qwen/Qwen3.8-27B",
"deepseek-ai/DeepSeek-V4.1-Flash"
],
"type": "string"
},
"object": {
"const": "chat.completion",
"type": "string"
},
"usage": {
"properties": {
"completion_tokens": {
"type": "integer"
},
"prompt_tokens": {
"type": "integer"
},
"total_tokens": {
"type": "integer"
}
},
"required": [
"prompt_tokens",
"completion_tokens",
"total_tokens"
],
"type": "object"
}
},
"required": [
"id",
"object",
"created",
"model",
"choices",
"usage"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"choices": [
{
"finish_reason": "string",
"index": 0,
"message": {
"content": "string",
"reasoning_content": "string",
"role": "string",
"tool_calls": [
{
"function": null,
"id": null,
"type": null
}
]
}
}
],
"created": 0,
"id": "string",
"model": "moonshotai/kimi-k3",
"object": "string",
"usage": {
"completion_tokens": 0,
"prompt_tokens": 0,
"total_tokens": 0
}
},
"type": "string"
}Examples
curl "https://api.ai-open-models.com/v1/chat/completions"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.ai-open-models.com/v1/chat/completions");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.ai-open-models.com/v1/chat/completions")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.ai-open-models.com
- Endpoint
- https://api.ai-open-models.com/v1/chat/completions
- Machine-readable
/resources/33290.json