# Text-to-SVG APIs: three ways to make the vector, and what each costs

Prompt and Render desk. A ZeroClick publication (https://promptandrender.com/about/). Published 2026-11-11.
Format: Comparison. Topic: Tools and platforms (https://promptandrender.com/topics/tools-and-platforms/).
Canonical: https://promptandrender.com/articles/ai-svg-generation-apis-how-each-makes-the-vector-and-what-it-costs/

Ask OpenAI's GPT Image 2.6 for an SVG and two models share the job. The image model first renders a reference picture, and the API then uses it to produce the SVG. The bill charges each model at its own token rate, the image model for the reference and the authoring model for what it spends writing the file, according to [OpenAI's image generation guide](https://developers.openai.com/api/docs/guides/image-generation?model=gpt-image-2.6). SVG is the vector format that scales from favicon to poster and opens as editable shapes. This two-model route is one of three ways an API can make one.

"SVG output" now appears in the documentation of four APIs: Recraft, Ideogram, QuiverAI and OpenAI. Behind that one label are three methods. Recraft and Ideogram sell a vector model at a fixed price per image. QuiverAI bills its SVG work by the token, the way a language model does. OpenAI renders and then writes. The list below is ordered by one criterion, how well you can know the price before the call, with fixed prices first.

Our view: for icons and logos that an agent orders in the middle of a task, a fixed price per file is the one to build on. Token billing is fine, but you have to measure a few runs before you can quote a job.

| API | Model | How the SVG is made, per its docs | Price | Delivery | How it's bought |
|---|---|---|---|---|---|
| Recraft | `_vector` variants, e.g. `recraftv3_vector` | A model whose name ends in `_vector` returns SVG | $0.044 (V2), from $0.05 (V4 Styles), $0.08 (V3), from $0.08 (V4, V4.1) per vector image | A URL to the SVG, kept about 24 hours | API token with a positive API units balance |
| Ideogram | Ideogram Vector 1 | Generates SVG from a prompt and optional image references | $0.13 low, $0.16 medium, $0.20 high; $0.32 high with references | Async: a generation ID to poll, or a webhook | API key; `dry_run` returns a price quote |
| QuiverAI | Arrow 2, Arrow 2 Telos | Native SVG calls billed by tokens | $4 in, $20 out per million tokens (Telos $6, $30) | Not stated on the pricing page | Prepaid balance, $10 minimum purchase |
| OpenAI | GPT Image 2.6 Flare, Sunburst | Reference image, then an authoring model writes the SVG | Image tokens $8 in, $30 out per million; text in $5; plus the author's rates | In the response, base64; no streaming | API key; organization verification may be required |

## Recraft

Recraft puts the vector in the model name. Any model whose name ends in `_vector` produces SVG, and every other model produces raster, according to [Recraft's model overview](https://www.recraft.ai/docs/api-reference/models/overview). The price is fixed per image. V2 costs $0.044, and Recraft calls it its most cost-efficient vector option, suited to icons and consistent brand styling. V3 costs $0.08, and V4 and V4.1 start at $0.08.

Requests go to `POST https://external.api.recraft.ai/v1/images/generations`. Recraft's [endpoint reference](https://www.recraft.ai/docs/api-reference/endpoints) also lists a `/generations/vector` variant that refuses raster models and styles, a guard for an agent that should only ever get back an SVG. Each result is a URL to the file, which Recraft keeps for about 24 hours, so download it. Recraft's pages don't say how the vector is drawn, so judge how editable it is from the file itself. Recraft suits high-volume icon sets where the budget has to be known in advance.

## Ideogram Vector 1

You send a multipart form to `POST https://api.ideogram.ai/v2/svg/generate/ideogram-vector-1`, according to [Ideogram's API reference](https://developer.ideogram.ai/api-reference/vectors/generate-svg). It takes a prompt of up to 9,500 characters, a `quality` of low, medium or high (medium by default), and returns up to eight SVGs per request (`num_images`). Optional references go in `images` or `image_asset_identifiers`. The call returns a `generation_id`, and you then poll Ideogram's generations endpoint or have the result POSTed to a `webhook_url`.

Prices come from [Ideogram's vector page](https://ideogram.ai/models/vector/). References cost nothing extra at low and medium quality but raise a high-quality SVG from $0.20 to $0.32. Ten medium-quality icons cost $1.60. The API reference says only that the endpoint generates SVG artwork. The product page promises editable SVGs whose colors you can adjust and whose individual shapes you can select in a vector editor.

The useful detail for agents is `dry_run`. It validates and prices the exact request without generating or billing anything. Ideogram suits logos and print work where references matter and an exact quote before the call helps.

## QuiverAI Arrow 2

QuiverAI charges by the token. Arrow 2 costs $4 per million input tokens and $20 per million output tokens, and Arrow 2 Telos costs half as much again, with a larger context window for complex SVGs, according to [QuiverAI's pricing page](https://docs.quiver.ai/developers/pricing). Native SVG, icon and Responses calls all bill at the same rates, with no fixed per-operation charge. Output includes reasoning tokens, which are not charged twice.

QuiverAI publishes no typical token count per SVG, only an example: 10,000 tokens in and 2,000 out costs $0.08 on Arrow 2. For your own files the arithmetic is input tokens × $4 plus output tokens × $20, divided by a million. A 1,000-token prompt that produces 5,000 output tokens comes to about 10 cents. A Responses tool loop charges each request separately, so one finished SVG can carry several charges.

Billing runs from a prepaid balance with a $10 minimum purchase, and purchased credits expire after a year. Each billable request holds $1 of balance and releases what it doesn't spend. If your balance can't cover a request, the API refuses it with a 402 before running it. Arrow suits developers who will log their own token counts.

## OpenAI GPT Image 2.6

To get an SVG, set `output_format: "svg"` on `POST /v1/images/generations` with `gpt-image-2.6-flare` or `gpt-image-2.6-sunburst` (the [Flare model page](https://developers.openai.com/api/docs/models/gpt-image-2.6-flare) lists the endpoints it supports). The request must use `n=1`, and SVG output supports no streaming, no partial images and no output compression. The edit endpoint doesn't return SVG. You decode `data[0].b64_json` into UTF-8 XML. The file is static vector content, with no scripts, external resources or embedded raster images.

Two settings shape the reference image: `quality`, and `complexity`, which according to the [API reference](https://developers.openai.com/api/reference/cli/resources/images/methods/generate) works independently of the author's reasoning. An `svg` object picks the authoring model and its reasoning effort. You can use it only if your account has access to SVG model selection, and the docs don't name the author used when the object is left out. Either way, the response includes an `svg_usage` block that reports the author's tokens and model, separately from the image usage.

There is no price per SVG. Your cost is the reference image's output tokens at $30 per million, plus prompt text at $5 per million, plus the author's tokens at that model's line on [OpenAI's price page](https://developers.openai.com/api/docs/pricing). OpenAI doesn't list which models can author the SVG. For scale, a small text model such as gpt-5.4-mini lists $0.75 in and $4.50 out per million, so 2,000 output tokens at that rate would add under a cent. Complex prompts can take up to two minutes. OpenAI suits teams that want separate control over the reference image and the writing, and that can accept learning the bill after the call.

## How to choose

If the budget has to be fixed before anything runs, start with Recraft's vector models, or with Ideogram when references matter and a `dry_run` quote is useful. If you will measure your own token counts, QuiverAI's rates are simple and public. OpenAI's two-model route gives you the most settings to tune but the least certain price per file. If a good raster render already exists, tracing it can cost less than generating a new one ([our image-to-SVG test](https://promptandrender.com/articles/image-to-svg-api-tested/) compared the tracers): Ideogram converts an existing image at `/v2/svg/vectorize/ideogram-vector-1` for $0.10, and Recraft lists a Vectorize tool of its own.

## Frequently asked questions

### Which AI API makes the cheapest SVG?

Of the four APIs here, Recraft V2 has the lowest fixed price, $0.044 per vector image. Token-billed APIs such as QuiverAI and OpenAI can cost more or less than that, depending on how many tokens each file takes.

### Is GPT Image 2.6's SVG a traced bitmap?

OpenAI's guide describes a different process. The API first makes a reference image and then produces the SVG from it, billing the authoring model's tokens on their own.

### Does Ideogram Vector 1 return the SVG in the response?

No. The call returns a generation ID, and the SVG arrives when you poll Ideogram's generations endpoint or through a webhook you supply.

### How do I find what an OpenAI SVG cost?

Read the response. The `usage` field covers the reference image and `svg_usage` covers the authoring model, and you price each at its line on OpenAI's price page.

### Can I edit an SVG with OpenAI's image edit endpoint?

No. The edit endpoint doesn't return SVG and doesn't accept an SVG as input, so you generate a new file with a revised prompt.
