[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [OpenAI model token pricing](https://spiral.ai/integrations/zapier/openai-model-token-pricing)

# How to Use OpenAI model token pricing in Zapier

Returns OpenAI's published token billing data, including input, output, and cached-input categories. Use it to compare the documented units behind a workload estimate.

|  |  |
| --- | --- |
| Model | OpenAI model token pricing |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with OpenAI model token pricing in Zapier

- Every Monday at 9am: use OpenAI model token pricing to look this up and give me the result as a table.
- Pull the latest numbers from OpenAI model token pricing and tell me what changed since last week.
- Check OpenAI model token pricing and summarize what you find in three bullet points.
- Pull the newest data from OpenAI model token pricing and give me the result as a table.
- Check OpenAI model token pricing every morning and tell me only when something changed.

## How to set up OpenAI model token pricing in Zapier

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Zapier this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run OpenAI model token pricing in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds OpenAI model token pricing, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run OpenAI model token pricing**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "developers-openai-com/developer-docs/model_pricing",
    "input": {
      "tier": "Standard"
    }
  }'
```

Then paste one of the prompts above: Zapier finds OpenAI model token pricing on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/zapier

## OpenAI model token pricing tools and prices

- [OpenAI developer docs · Model pricing](https://spiral.ai/tools/alexandria/developers-openai-com/developer-docs/model_pricing) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tier | Standard, Batch, Flex, Fast, Ultrafast, Priority | — | Processing tier. |
| limit | 1 to 500 | — | Maximum rows (default 100). |
| model |  | — | Exact model ID (case-insensitive), e.g. gpt-6-astra. |
| category |  | — | Substring of the pricing section, e.g. Image generation, Finetuning, Specialized. |

## What can you do with OpenAI model token pricing in Zapier?

Maintain a weekly OpenAI documentation review for the models and API methods an application uses. An always-on agent can compare retrieved documentation with its previous report and flag changes in specifications, announcements, retirement notices, or billing categories.

### Plan a Chat Completions migration

Build a migration checklist from dated API changes, request and response definitions, model capabilities, retirement notices, and published billing categories. Link each proposed code change to the relevant guide.

### Write a model selection decision

Evaluate models for a document extraction application using catalog entries, specifications, endpoint definitions, lifecycle notices, billing units, and implementation guides. Include recent announcements that affect the decision.

### Prepare a release readiness review

Before shipping an OpenAI integration, review its selected models, documented limits, API schemas, lifecycle status, and billing assumptions. Use the changelog and guides to identify documentation changes that need engineering review.

### Check workload sizing assumptions

Compare candidate models' context, input, and output limits with the application's expected document sizes. Review the published token billing categories and relevant guides before building an estimate.

### Prepare retirement handoff briefs

Turn announced shutdowns into engineering handoff briefs with affected model IDs, proposed replacements, specification differences, schema checks, and billing considerations. Include migration guides and related announcements.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Zapier guides](https://spiral.ai/integrations/zapier)

## OpenAI model token pricing in other agents

- [Amp](https://spiral.ai/integrations/amp/openai-model-token-pricing)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/openai-model-token-pricing)
- [Claude](https://spiral.ai/integrations/claude-desktop/openai-model-token-pricing)
- [Claude Code](https://spiral.ai/integrations/claude-code/openai-model-token-pricing)
- [Cline](https://spiral.ai/integrations/cline/openai-model-token-pricing)
- [Codex](https://spiral.ai/integrations/codex/openai-model-token-pricing)
- [Cursor](https://spiral.ai/integrations/cursor/openai-model-token-pricing)
- [Devin](https://spiral.ai/integrations/devin/openai-model-token-pricing)
- [dots](https://spiral.ai/integrations/dots/openai-model-token-pricing)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/openai-model-token-pricing)
- [Gemini](https://spiral.ai/integrations/gemini/openai-model-token-pricing)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/openai-model-token-pricing)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/openai-model-token-pricing)
- [goose](https://spiral.ai/integrations/goose/openai-model-token-pricing)
- [Grok](https://spiral.ai/integrations/grok/openai-model-token-pricing)
- [Grok Build](https://spiral.ai/integrations/grok-build/openai-model-token-pricing)
- [Hermes](https://spiral.ai/integrations/hermes/openai-model-token-pricing)
- [Instinct](https://spiral.ai/integrations/instinct/openai-model-token-pricing)
- [Manus](https://spiral.ai/integrations/manus/openai-model-token-pricing)
- [Muse](https://spiral.ai/integrations/muse/openai-model-token-pricing)
- [Muse Code](https://spiral.ai/integrations/muse-code/openai-model-token-pricing)
- [n8n](https://spiral.ai/integrations/n8n/openai-model-token-pricing)
- [Notion](https://spiral.ai/integrations/notion/openai-model-token-pricing)
- [OpenClaw](https://spiral.ai/integrations/openclaw/openai-model-token-pricing)
- [opencode](https://spiral.ai/integrations/opencode/openai-model-token-pricing)
- [Perplexity](https://spiral.ai/integrations/perplexity/openai-model-token-pricing)
- [Raycast](https://spiral.ai/integrations/raycast/openai-model-token-pricing)
- [VS Code](https://spiral.ai/integrations/vscode/openai-model-token-pricing)
- [Windsurf](https://spiral.ai/integrations/windsurf/openai-model-token-pricing)

## More Zapier guides

- [OpenAI model specifications](https://spiral.ai/integrations/zapier/openai-model-specifications)
- [OpenReview paper search](https://spiral.ai/integrations/zapier/openreview-paper-search)
- [OpenAI model deprecations](https://spiral.ai/integrations/zapier/openai-model-deprecations)
- [OpenReview review search](https://spiral.ai/integrations/zapier/openreview-review-search)
- [OpenAI model catalog](https://spiral.ai/integrations/zapier/openai-model-catalog)
- [OpenReview venue details](https://spiral.ai/integrations/zapier/openreview-venue-details)

## Questions about OpenAI model token pricing in Zapier

**Can Zapier use OpenAI model token pricing?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run OpenAI model token pricing like any built-in tool.

**How much does OpenAI model token pricing cost in Zapier?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

**Do I need an Alexandria account to use OpenAI model token pricing in Zapier?**

No. Spiral runs OpenAI model token pricing on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up OpenAI model token pricing in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while OpenAI model token pricing runs?**

OpenAI model token pricing runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

**What public material does this source cover?**

OpenAI's documentation service provides read-only search and page content. The page reader covers official guides, references, and cookbook pages.

**Does the model catalog include deprecated models?**

Yes. OpenAI explicitly includes deprecated models in its full catalog, so a listed model still needs a lifecycle check.

**How detailed are the model specifications?**

They distinguish context capacity from input and output limits. For example, GPT-6.2 Sol lists a 1,050,000-token context window, 922,000 maximum input tokens, and 128,000 maximum output tokens.

**Are API announcements dated?**

Yes. The changelog's November 17, 2026 entry identifies GPT-6.2 Astra and GPT-6.2 Sol and tags the Responses and Chat Completions APIs.

**Can an agent read a specific part of a guide?**

Yes. The documentation page reader provides Markdown content with an outline and section reads for guides, references, and cookbook pages.

