llama4 chat completions
llama4_chat_completionsRead-only
OpenAI-compatible chat completions on Meta Llama 4 Scout, multimodal (image input) with tool calling. Set your OpenAI SDK base URL to https://agents.citiviewgroup.com/v1/llama4 and pay $0.004 per request with x402 instead of an API key. Same request/response shape as OpenAI (tool calling, image input, streaming supported), up to 2048 output tokens. Costs $0.004 USDC per call (x402).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Ignored; always llama-4-scout-17b | |
| tools | No | OpenAI function tools | |
| stream | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No |