In short.
The Alpha.Extractions documentation helps Go developers request typed information from an AI model, but the API is in alpha and its shape is explicitly unstable. It provides a Go request example, field definitions, a response signature and documented errors. The description also mentions image inputs, computation, estimates and forecasts, although only a text request is illustrated. Response contents, output accuracy, pricing and data-handling terms are not established, and runtime behavior was not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected page at [https://openrouter.ai/docs/client-sdks/go/sdks/extractions/README.md], including its alpha notice, example, parameters, response signature and error table. Linked pages, including the documentation index and model definitions, are excluded. No code was executed. Response values, image submission, estimation and forecasting quality, and service operation remain unverified.
The overview
identity
This is the Alpha.Extractions reference page for the OpenRouter Go SDK at [https://openrouter.ai/docs/client-sdks/go/sdks/extractions/README.md]. It documents one operation, Create, for submitting extraction requests. The resource is documentation for using that SDK feature.
assessment
The page is a useful starting point for drafting a Go integration that can accommodate alpha changes. Its example explains how to describe desired fields and submit a request. It does not provide enough evidence to establish response parsing, extraction accuracy or production reliability.
users
Go developers adding document-processing or data-entry features are a likely audience, inferred from the invoice example. Experienced developers can inspect the request constructors and error types directly. Beginners will need familiarity with Go structs, maps, pointers and environment variables; the page does not include a beginner installation walkthrough.
capabilities
The description says Create can extract, compute, estimate or forecast typed fields from state text and image assets. The example shows requests for text, numbers, dates, text lists and bounded numeric estimates, with options such as field instructions, units, decimal places and a numeric step.
Image submission and forecasting are described capabilities, without worked examples or demonstrated results on this page.
Using it
requirements
The documented setup uses Go, github.com/OpenRouterTeam/go-sdk and its models/components package. It reads an API key from OPENROUTER_API_KEY and supplies it through openrouter.WithSecurity. Create takes a context.Context and components.ExtractionsRequest, with optional operations.Option arguments.
Minimum Go and SDK versions, account permissions, supported model lists and service limits are not specified.
mechanism
The caller defines a Fields map describing the information to return, supplies State text, selects a Model and can provide a ReferenceDate. The example submits these through s.Alpha.Extractions.Create(ctx, request). The documented return signature is *components.ExtractionsResponse, error; the response object's contents are not shown.
The page describes an extraction-style System One model but does not explain its internal architecture or how it enforces field constraints.
setup
Following the example involves making the SDK available to a Go project, supplying OPENROUTER_API_KEY, creating an authenticated client and constructing the extraction request. The sample checks the returned error with log.Fatal and leaves successful response handling as a comment.
Dependency installation commands, a pinned SDK version and an implementation for reading the response are absent. These must be resolved before completing an application integration.
example
The sample supplies invoice INV-2291, issued 2026-09-02 with net 30 payment terms, two named contacts and a total of $1080. It selects cloudflare/clairic and sets ReferenceDate to 2026-10-28.
Requested fields include contacts as a text list, days_to_pay as an estimate bounded from 0 to 120 with step 1, due_date with instructions to add payment days to the issue date, invoice_number as text and total as a USD number with two decimal places. No response values are displayed, and the example was not executed.
Assessment & evidence
limitations
The explicit alpha warning makes interface changes a material integration concern. The page lacks a response example, image attachment instructions, accuracy measurements and evidence about how invalid or ambiguous field values are handled.
Documented errors cover invalid requests, authentication, permissions, payment, oversized payloads, rate limits and server or provider failures. They include HTTP 524 EdgeNetworkTimeout and 529 ProviderOverloaded. Retry behavior, timeout settings and reliability guarantees are not specified.
reasoning
The invoice example illustrates why the feature may be useful: one request combines copying explicit information, such as an invoice number, with deriving a value, such as a due date. Field definitions make the requested structure explicit, but the page does not establish that returned values always satisfy those constraints or are factually correct. Computed and estimated fields therefore need validation before application use.
alternatives
The page does not compare other extraction APIs, SDKs or models. cloudflare/clairic appears only as the example's model choice; this does not establish that it is the only compatible model or the best option. No alternative can be ranked for accuracy, cost or stability from this evidence.
evidence
The evidence consists of the complete selected reference page at [https://openrouter.ai/docs/client-sdks/go/sdks/extractions/README.md], including its description, Go example, parameter table, response signature and error table. These support statements about the documented interface, but do not establish successful execution or output quality.
Linked request and response definitions, the documentation index and other pages are outside this evidence. No execution results or independent performance measurements are supplied.
Access & freshness
costs
Pricing, billing units, any free allowance and model charges are unknown from this page. The error table includes HTTP 402 PaymentRequired but does not explain billing conditions or establish a price.
rights
The page gives no license or redistribution terms for the documentation, example code or SDK. It also does not establish output ownership or terms governing submitted text and images, including retention or training use. Those rights and conditions remain unknown.
freshness
The source was captured on 2026-11-15 at 06:32:01.974 UTC. The page provides no publication date, last-updated date or pinned SDK release. Its alpha warning applies to that captured documentation; later behavior is unknown.
The example's ReferenceDate value, 2026-10-28, is request data and does not establish a release or update date.
actions
Before adopting the feature, obtain the response schema, confirm compatible SDK and model versions, and establish pricing and data-handling terms. Plan for changes to the alpha interface and define how the application handles the documented errors.
Validate representative inputs against known answers, especially computed dates and numeric estimates. If images are required, confirm their submission format and assess that path separately; the text-only example does not establish image behavior.
