← APIs / OpenAI gpt-4.1-mini
Verified

OpenAI gpt-4.1-mini

Coinbase Bazaarby Coinbase Bazaar · marketplace

Pay-per-call x402 service at openai.mm.family, listed in the Coinbase Bazaar. gpt-4.1-mini: OpenAI GPT 4.1 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 0.4/1.6, Fast 0.7/2.8; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing

financefederated
Price per request
$0.0013
Base URL
https://gateway.apiosk.com/cbz-openai-mm-family
Technical Specs
Auth MethodNone (x402 payment proof only)
Response FormatJSON
Endpoints1
Endpoints
MethodPathDescriptionCost
POST /x402/v1/models/gpt-4.1-mini/chat/completions gpt-4.1-mini: OpenAI GPT 4.1 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 0.4/1.6, Fast 0.7/2.8; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing
$0.0011 default
View details
Endpoint documentation
POST/x402/v1/models/gpt-4.1-mini/chat/completions
$0.0011 default
Description

gpt-4.1-mini: OpenAI GPT 4.1 Mini chat completions, paid per call in USDC. Per 1M tokens in/out: Standard (default) 0.4/1.6, Fast 0.7/2.8; pick with service_tier. Plus $0.0005 (Base) or $0.0005 (Solana) per call; the quote charges input plus 10% of max_tokens. Empty answers are free. Rates: https://openai.mm.family/x402/pricing

Pricing
$0.0011 default
Request schema
{
  "properties": {
    "max_tokens": {
      "type": "integer"
    },
    "messages": {
      "items": {
        "properties": {
          "content": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "role",
          "content"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "model": {
      "enum": [
        "gpt-4.1-mini"
      ],
      "type": "string"
    },
    "reasoning_effort": {
      "type": "string"
    },
    "response_format": {
      "type": "object"
    },
    "service_tier": {
      "enum": [
        "flex",
        "default",
        "standard",
        "auto",
        "fast",
        "priority"
      ],
      "type": "string"
    },
    "stream": {
      "type": "boolean"
    },
    "tools": {
      "type": "array"
    }
  },
  "required": [
    "messages"
  ],
  "type": "object"
}
Example response
{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "Hello",
        "refusal": null,
        "role": "assistant"
      }
    }
  ],
  "id": "chatcmpl-x",
  "model": "gpt-4.1-mini",
  "object": "chat.completion",
  "service_tier": "default",
  "usage": {
    "completion_tokens": 1,
    "prompt_tokens": 8,
    "total_tokens": 9
  }
}