{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-beta-daydreams-systems-v1-chat-completions",
  "title": "Daydreams \u00b7 Create AI chat completion",
  "url": "https://api-beta.daydreams.systems/v1/chat/completions",
  "category": "ai",
  "summary": "Generate AI chat completions using OpenAI-compatible format with crypto micropayment settlement.",
  "seo": {
    "title": "AI Chat Completions API | Daydreams | x402",
    "description": "OpenAI-compatible chat completions with x402 crypto payments or credits. x402: $0.01 per call on Base."
  },
  "use_cases": [
    "Power conversational agents with per-message billing",
    "Integrate LLM inference with crypto-native payment rails",
    "Build pay-per-use chat interfaces without subscriptions"
  ],
  "ideal_buyer": "AI agent developers seeking usage-based LLM access with crypto settlement.",
  "example_prompt": "Create a chat completion with messages [{'role':'user','content':'Explain x402 protocol'}].",
  "example_request_body": {
    "messages": [
      {
        "role": "user",
        "content": "Explain the x402 payment protocol"
      }
    ],
    "max_tokens": 500,
    "temperature": 0.7
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 1,
    "median_category_atomic": 10000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xb308ed39d67d0d4bae5bc2faef60c66bbb6ae429",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "10000",
      "max_timeout_seconds": 600,
      "mime_type": "application/json",
      "description": "Create AI chat completions with x402 crypto payments or credits.",
      "verified": false,
      "hints": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "model",
              "messages"
            ],
            "properties": {
              "seed": {
                "type": "number",
                "description": "Seed for deterministic sampling when supported by the provider."
              },
              "stop": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ],
                "description": "Sequences where the model should stop generating further tokens."
              },
              "user": {
                "type": "string",
                "description": "Optional end-user identifier forwarded for moderation."
              },
              "model": {
                "enum": [
                  "anthropic/claude-opus-4-1-20250805",
                  "anthropic/claude-opus-4-20250514",
                  "anthropic/claude-sonnet-4-20250514",
                  "chutes/deepseek-r1",
                  "chutes/deepseek-v3.1",
                  "chutes/glm-4.5",
                  "chutes/gpt-oss-120b",
                  "chutes/nous-hermes-4-70b",
                  "claude-4-opus-20250522",
                  "claude-4-sonnet-20250522",
                  "claude-4.1-opus-20250805",
                  "claude-opus-4",
                  "claude-opus-4.1",
                  "claude-sonnet-4",
                  "deepseek-ai/DeepSeek-R1",
                  "deepseek-r1",
                  "deepseek-v3.1",
                  "deepseek/deepseek-v3.1-base",
                  "gemini-2.5-flash",
                  "gemini-2.5-flash-image-preview (nano-banana)",
                  "gemini-2.5-flash-lite",
                  "gemini-2.5-pro",
                  "glm-4.5",
                  "google-vertex/gemini-2.5-flash",
                  "google-vertex/gemini-2.5-flash-lite",
                  "google-vertex/gemini-2.5-pro",
                  "gpt-4-turbo",
                  "gpt-4o",
                  "gpt-4o-mini",
                  "gpt-5",
                  "gpt-5-2025-08-07",
                  "gpt-oss-120b",
                  "grok-4-0709",
                  "nous-hermes-4-70b",
                  "openai/gpt-4-turbo",
                  "openai/gpt-4o",
                  "openai/gpt-4o-mini",
                  "openai/gpt-5",
                  "xai/grok-4-0709",
                  "z-ai-glm-4.5"
                ],
                "type": "string",
                "minLength": 1,
                "description": "Primary model identifier or alias (provider/name)."
              },
              "tools": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "function"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "function",
                      "description": "Tool type identifier (function)."
                    },
                    "function": {
                      "type": "object",
                      "required": [
                        "name"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Function name exposed to the model."
                        },
                        "parameters": {
                          "description": "JSON Schema describing expected arguments."
                        },
                        "description": {
                          "type": "string",
                          "description": "Optional description shown to the model."
                        }
                      },
                      "description": "Function that can be invoked by the model."
                    }
                  },
                  "description": "Tool definition available to the model."
                },
                "description": "Tools the model may invoke during the conversation."
              },
              "top_p": {
                "type": "number",
                "description": "Nucleus sampling probability mass (0-1)."
              },
              "models": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "Optional ordered list of fallback models to try if the primary one is unavailable."
              },
              "stream": {
                "type": "boolean",
                "description": "If true, responses are streamed via Server-Sent Events."
              },
              "logprobs": {
                "type": "boolean",
                "description": "Request token log probabilities when supported."
              },
              "messages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "role",
                    "content"
                  ],
                  "properties": {
                    "role": {
                      "enum": [
                        "system",
                        "user",
                        "assistant",
                        "tool"
                      ],
                      "type": "string",
                      "description": "Role of the message author."
                    },
                    "content": {
                      "type": "string",
                      "description": "Message text shown to the model or returned to the user."
                    },
                    "tool_calls": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "type",
                          "function"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Unique identifier for the tool call."
                          },
                          "type": {
                            "type": "string",
                            "const": "function"
                          },
                          "function": {
                            "type": "object",
                            "required": [
                              "name",
                              "arguments"
                            ],
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "Function name invoked."
                              },
                              "arguments": {
                                "type": "string",
                                "description": "JSON-encoded argument payload."
                              }
                            },
                            "description": "Function invocation details."
                          }
                        },
                        "description": "Tool call requested by the assistant."
                      },
                      "description": "List of tool calls emitted by the assistant."
                    },
                    "tool_call_id": {
                      "type": "string",
                      "description": "Identifier referencing the tool call being answered."
                    }
                  },
                  "description": "Single chat message in the conversation."
                },
                "description": "Conversation history supplied to the model."
              },
              "max_tokens": {
                "type": "number",
                "description": "Maximum number of tokens to generate in the response."
              },
              "temperature": {
                "type": "number",
                "description": "Sampling temperature (0-2). Higher values increase creativity."
              },
              "tool_choice": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "auto"
                  },
                  {
                    "type": "string",
                    "const": "none"
                  },
                  {
                    "type": "string",
                    "const": "required"
                  },
                  {
                    "type": "object",
                    "required": [
                      "type",
                      "function"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "function"
                      },
                      "function": {
                        "type": "object",
                        "required": [
                          "name"
                        ],
                        "properties": {
                          "name": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                ],
                "description": "Forces or disables tool usage."
              },
              "x402Payment": {
                "type": "string",
                "description": "Encoded x402 payment payload for crypto-backed requests."
              },
              "top_logprobs": {
                "type": "number",
                "description": "Number of top log probability tokens to include if logprobs is true."
              },
              "modelCriteria": {
                "enum": [
                  "cheapest",
                  "fastest",
                  "balanced"
                ],
                "type": "string",
                "description": "Strategy for selecting implementations when resolving aliases."
              },
              "response_format": {
                "description": "Provider-specific structured response format hints."
              },
              "presence_penalty": {
                "type": "number",
                "description": "Penalize new tokens based on presence in text so far (\u22122 to 2)."
              },
              "frequency_penalty": {
                "type": "number",
                "description": "Penalize new tokens based on existing frequency (\u22122 to 2)."
              },
              "parallel_tool_calls": {
                "type": "boolean",
                "description": "Allow the model to request multiple tool calls simultaneously."
              }
            }
          }
        },
        "request": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "seed": {
              "type": "number",
              "description": "Seed for deterministic sampling when supported by the provider."
            },
            "stop": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ],
              "description": "Sequences where the model should stop generating further tokens."
            },
            "user": {
              "type": "string",
              "description": "Optional end-user identifier forwarded for moderation."
            },
            "model": {
              "enum": [
                "anthropic/claude-opus-4-1-20250805",
                "anthropic/claude-opus-4-20250514",
                "anthropic/claude-sonnet-4-20250514",
                "chutes/deepseek-r1",
                "chutes/deepseek-v3.1",
                "chutes/glm-4.5",
                "chutes/gpt-oss-120b",
                "chutes/nous-hermes-4-70b",
                "claude-4-opus-20250522",
                "claude-4-sonnet-20250522",
                "claude-4.1-opus-20250805",
                "claude-opus-4",
                "claude-opus-4.1",
                "claude-sonnet-4",
                "deepseek-ai/DeepSeek-R1",
                "deepseek-r1",
                "deepseek-v3.1",
                "deepseek/deepseek-v3.1-base",
                "gemini-2.5-flash",
                "gemini-2.5-flash-image-preview (nano-banana)",
                "gemini-2.5-flash-lite",
                "gemini-2.5-pro",
                "glm-4.5",
                "google-vertex/gemini-2.5-flash",
                "google-vertex/gemini-2.5-flash-lite",
                "google-vertex/gemini-2.5-pro",
                "gpt-4-turbo",
                "gpt-4o",
                "gpt-4o-mini",
                "gpt-5",
                "gpt-5-2025-08-07",
                "gpt-oss-120b",
                "grok-4-0709",
                "nous-hermes-4-70b",
                "openai/gpt-4-turbo",
                "openai/gpt-4o",
                "openai/gpt-4o-mini",
                "openai/gpt-5",
                "xai/grok-4-0709",
                "z-ai-glm-4.5"
              ],
              "type": "string",
              "minLength": 1,
              "description": "Primary model identifier or alias (provider/name)."
            },
            "tools": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "type",
                  "function"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "function",
                    "description": "Tool type identifier (function)."
                  },
                  "function": {
                    "type": "object",
                    "required": [
                      "name"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Function name exposed to the model."
                      },
                      "parameters": {
                        "description": "JSON Schema describing expected arguments."
                      },
                      "description": {
                        "type": "string",
                        "description": "Optional description shown to the model."
                      }
                    },
                    "description": "Function that can be invoked by the model."
                  }
                },
                "description": "Tool definition available to the model."
              },
              "description": "Tools the model may invoke during the conversation."
            },
            "top_p": {
              "type": "number",
              "description": "Nucleus sampling probability mass (0-1)."
            },
            "models": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "description": "Optional ordered list of fallback models to try if the primary one is unavailable."
            },
            "stream": {
              "type": "boolean",
              "description": "If true, responses are streamed via Server-Sent Events."
            },
            "logprobs": {
              "type": "boolean",
              "description": "Request token log probabilities when supported."
            },
            "messages": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "role",
                  "content"
                ],
                "properties": {
                  "role": {
                    "enum": [
                      "system",
                      "user",
                      "assistant",
                      "tool"
                    ],
                    "type": "string",
                    "description": "Role of the message author."
                  },
                  "content": {
                    "type": "string",
                    "description": "Message text shown to the model or returned to the user."
                  },
                  "tool_calls": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "type",
                        "function"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Unique identifier for the tool call."
                        },
                        "type": {
                          "type": "string",
                          "const": "function"
                        },
                        "function": {
                          "type": "object",
                          "required": [
                            "name",
                            "arguments"
                          ],
                          "properties": {
                            "name": {
                              "type": "string",
                              "description": "Function name invoked."
                            },
                            "arguments": {
                              "type": "string",
                              "description": "JSON-encoded argument payload."
                            }
                          },
                          "description": "Function invocation details."
                        }
                      },
                      "description": "Tool call requested by the assistant."
                    },
                    "description": "List of tool calls emitted by the assistant."
                  },
                  "tool_call_id": {
                    "type": "string",
                    "description": "Identifier referencing the tool call being answered."
                  }
                },
                "description": "Single chat message in the conversation."
              },
              "description": "Conversation history supplied to the model."
            },
            "max_tokens": {
              "type": "number",
              "description": "Maximum number of tokens to generate in the response."
            },
            "temperature": {
              "type": "number",
              "description": "Sampling temperature (0-2). Higher values increase creativity."
            },
            "tool_choice": {
              "anyOf": [
                {
                  "type": "string",
                  "const": "auto"
                },
                {
                  "type": "string",
                  "const": "none"
                },
                {
                  "type": "string",
                  "const": "required"
                },
                {
                  "type": "object",
                  "required": [
                    "type",
                    "function"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "function"
                    },
                    "function": {
                      "type": "object",
                      "required": [
                        "name"
                      ],
                      "properties": {
                        "name": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              ],
              "description": "Forces or disables tool usage."
            },
            "x402Payment": {
              "type": "string",
              "description": "Encoded x402 payment payload for crypto-backed requests."
            },
            "top_logprobs": {
              "type": "number",
              "description": "Number of top log probability tokens to include if logprobs is true."
            },
            "modelCriteria": {
              "enum": [
                "cheapest",
                "fastest",
                "balanced"
              ],
              "type": "string",
              "description": "Strategy for selecting implementations when resolving aliases."
            },
            "response_format": {
              "description": "Provider-specific structured response format hints."
            },
            "presence_penalty": {
              "type": "number",
              "description": "Penalize new tokens based on presence in text so far (\u22122 to 2)."
            },
            "frequency_penalty": {
              "type": "number",
              "description": "Penalize new tokens based on existing frequency (\u22122 to 2)."
            },
            "parallel_tool_calls": {
              "type": "boolean",
              "description": "Allow the model to request multiple tool calls simultaneously."
            }
          },
          "headerFields": {
            "X-PAYMENT": {
              "type": "string",
              "description": "Base64-encoded x402 payment payload."
            },
            "Authorization": {
              "type": "string",
              "description": "Bearer token or API key (optional when providing an x402 payment)."
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "api-beta-daydreams-systems",
    "host": "api-beta.daydreams.systems",
    "title": "Daydreams Systems API (Beta)",
    "description": "Beta API origin for Daydreams Systems. No public documentation available; access is currently restricted.",
    "url": "https://api-beta.daydreams.systems"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-beta-daydreams-systems-v1-chat-completions",
    "url": "https://x402all.com/resource/api-beta-daydreams-systems-v1-chat-completions",
    "name": "Daydreams \u00b7 Create AI chat completion",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-beta-daydreams-systems-v1-chat-completions",
      "@type": "Offer",
      "price": "0.01",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.010000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api-beta.daydreams.systems/v1/chat/completions",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-beta-daydreams-systems",
      "url": "https://api-beta.daydreams.systems",
      "name": "Daydreams Systems API (Beta)",
      "@type": "Organization"
    },
    "identifier": "api-beta-daydreams-systems-v1-chat-completions",
    "description": "OpenAI-compatible chat completions with x402 crypto payments or credits. x402: $0.01 per call on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-beta-daydreams-systems-v1-chat-completions",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "ai"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-beta-daydreams-systems-v1-chat-completions"
}
