Log in Sign up
AI tools

AI proxies for API calls and agents in the region you need

Advanced.name sells AI proxies as plain proxy IPs for your own AI work: API calls to OpenAI, Anthropic, Gemini or DeepSeek, and agents that open sites on your behalf. You get IPv4 pools on one link, with access authorized by your server IP, so each call leaves from the country you pick and your calls spread over thousands of addresses.

  • 4 regions, IP country in the CSV
  • up to 5,000 threads
  • Resi Prime sessions up to 24 hours
Dark workspace with an AI chat dashboard of bubbles and a network graph
AI tools

What AI work needs and what the package gives

An AI pipeline needs a region where the provider allows access and enough addresses that no single IP carries every call.

What the task needsWhat the package gives

Access from a region where the API answers

World MIX, Europe, CIS and China pools, with the country of each IP in the CSV export

Many addresses for high call volume

200 to 50,000 IPs per package, about a third of the pool replaced each day

Threads for parallel calls and agents

300 to 5,000 threads depending on the package, all protocols on one port

No meter on prompts, images and pages

We do not meter traffic on any unlimited package

Unlimited proxies

Pick the package for your call volume

Set the region and the package, then the term. The price covers one authorized IP, and each extra IP adds 10%.

Region
Term
Authorized IPs
1 +10% per IP above the first
Recommended for this task
$0
  • Proxies in package
  • Threads
  • Authorized IPs1
  • ProtocolsHTTP / SOCKS5
All 13 packages in the price table

Three steps from key to first response

Authorize your server IP

The list opens only from IPs you add in the dashboard. Your API key stays in your code, and the proxy forwards the encrypted connection without reading it.

Choose the region

Pick the country from the CSV export so the service sees an address from a country it serves. World MIX covers the widest pool.

Send through rotating proxies

Load the list, take the next address for each call and move to another when one is slow. The script below does this with the Python standard library.

Ready client: call a chat API through rotating proxies

Set API_URL, your API_KEY and MODEL, and put one prompt per line in prompts.txt. Each call goes through the next proxy and moves to another when one is slow; the script writes answers to a CSV. Use it only with keys and services you are authorized for, and spot-check a sample of the pool with the online proxy checker.

CSV export link from your dashboard
ISO code where the service is available, or "" for the whole pool
OpenAI-compatible endpoint you may use
your own key; it stays in this file, never in the proxy
model name the endpoint expects
one user prompt per line
prompt;answer;proxy is written here
Values come from the form; copy or download the ready file.
Show the script code
Python 3.8+ · ai.py
#!/usr/bin/env python3
"""Rotating-proxy client for OpenAI-compatible chat APIs (Advanced.name proxies).

Sends each prompt from a file to a chat API through a different proxy, with
retries, and writes the answers to a CSV. Use it only with an API key and a
service you are authorised for. Standard library only. Run: python3 ai_calls.py
"""

# ================================ CONFIG ====================================
CSV_URL = "https://get.advanced.name/YOUR_LIST_ID.csv"  # CSV export link from your dashboard
COUNTRY = ""            # ISO code where the service is available, or "" for the whole pool
MIN_SPEED = 3
API_URL = "https://api.openai.com/v1/chat/completions"  # OpenAI-compatible endpoint you may use
API_KEY = "YOUR_API_KEY"    # your own key; it stays in this file, never in the proxy
MODEL = "gpt-4o-mini"       # model name the endpoint expects
PROMPTS_FILE = "prompts.txt"     # one user prompt per line
OUT_FILE = "answers.csv"         # prompt;answer;proxy is written here
THREADS = 20
TIMEOUT = 30
RETRIES = 3
# ============================================================================

import csv
import io
import itertools
import json
import sys
import threading
import urllib.request
from concurrent.futures import ThreadPoolExecutor, as_completed

COL_IP, COL_PORT, COL_COUNTRY, COL_SPEED = 0, 1, 2, 3


def load_proxies():
    raw = urllib.request.urlopen(CSV_URL, timeout=30).read().decode("utf-8", "replace")
    pool = []
    for row in csv.reader(io.StringIO(raw), delimiter=";"):
        if len(row) <= COL_SPEED or not row[COL_PORT].strip().isdigit():
            continue
        if COUNTRY and row[COL_COUNTRY].strip().upper() != COUNTRY.upper():
            continue
        if int(row[COL_SPEED] or 0) < MIN_SPEED:
            continue
        pool.append(row[COL_IP].strip() + ":" + row[COL_PORT].strip())
    return pool


def ask(prompt, proxy):
    body = json.dumps({"model": MODEL, "messages": [{"role": "user", "content": prompt}]}).encode()
    handler = urllib.request.ProxyHandler({"http": "http://" + proxy, "https": "http://" + proxy})
    req = urllib.request.Request(API_URL, data=body, method="POST", headers={
        "Authorization": "Bearer " + API_KEY, "Content-Type": "application/json"})
    data = json.loads(urllib.request.build_opener(handler).open(req, timeout=TIMEOUT).read())
    return data["choices"][0]["message"]["content"].strip()


def main():
    proxies = load_proxies()
    if not proxies:
        sys.exit("No proxies for COUNTRY=%r." % COUNTRY)
    with open(PROMPTS_FILE, encoding="utf-8") as fh:
        prompts = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
    print("proxies: %d (%s), prompts: %d, threads: %d" % (len(proxies), COUNTRY or "any", len(prompts), THREADS))

    rotation = itertools.cycle(proxies)
    lock = threading.Lock()

    def run(prompt):
        for _ in range(RETRIES):
            with lock:
                proxy = next(rotation)
            try:
                return prompt, ask(prompt, proxy), proxy
            except Exception:
                continue
        return prompt, "error: unreachable", ""

    rows = []
    with ThreadPoolExecutor(max_workers=THREADS) as pool:
        for fut in as_completed([pool.submit(run, p) for p in prompts]):
            prompt, answer, proxy = fut.result()
            rows.append((prompt, answer, proxy))
            print("%-40s %s" % (prompt[:40], (answer[:50] + "...") if len(answer) > 50 else answer))

    with open(OUT_FILE, "w", encoding="utf-8", newline="") as out:
        writer = csv.writer(out, delimiter=";")
        writer.writerow(["prompt", "answer", "proxy"])
        writer.writerows(rows)
    print("written %s (%d rows)" % (OUT_FILE, len(rows)))


if __name__ == "__main__":
    main()
Setup

Setting up AI proxies for SDKs and agents

AI proxies: proxy IPs for AI services

On this page an AI proxy means a proxy IP address that your code or agent connects through on its way to an AI service. An LLM gateway that routes prompts between models, or the 'proxy' URL field in a chat app, is a different product, and we do not sell either.

You keep the model, the key and the endpoint, and pick the IP address and country the provider sees.

OpenAI, Anthropic, Gemini and DeepSeek SDKs behind a proxy

The OpenAI and Anthropic Python SDKs run on httpx, which reads the standard HTTPS_PROXY variable, so an OpenAI API proxy or a Claude API proxy takes one exported line. To choose the address per client, pass http_client=httpx.Client(proxy='http://ip:port'). Google's google-genai SDK for Gemini also runs on httpx and picks up the same variable. In plain requests set proxies={'http': 'http://ip:port', 'https': 'http://ip:port'}. HTTP and SOCKS5 answer on the same port, so the http:// scheme works for every address in the list.

DeepSeek's API accepts the OpenAI SDK with base_url set to https://api.deepseek.com, and the same proxy setup applies. If your DeepSeek work needs a Chinese address, package #13 exits from China with 200 IPs and 300 threads. Filter any pool before a long run with SLP, our free proxy checker for Windows.

Proxies for AI agents: sticky sessions and a stable egress IP

A browser agent that signs in to a web app should keep one IP for the whole task. Resi Prime holds a sticky session for the term you write in the login, from 3 minutes to 24 hours, with the country or city you choose, while the exit device stays online. For a static address that often holds for days, take ISP proxies: US provider IPs on a server channel.

An agent that calls an API and nothing more can rotate on every request. A streamed (SSE) completion still runs over one connection, so the address holds until the last token arrives.

Region access, AI training data and answer tracking

A service that runs in some countries and blocks the rest needs calls from the allowed ones, so pick those from the CSV export. Collecting web pages to train or ground a model is a scraping job, covered on proxies for web scraping. To check how ChatGPT and other AI answers mention your brand by region, see proxies for rank tracking.

In practice

The pool behind an AI pipeline

Four habits for a steady AI pipeline

  1. Use proxies only for services and keys you are authorized to use, and follow each provider's terms.
  2. Match the region to where the service is available. While an agent works inside a logged-in account, keep one address until the session ends.
  3. Give generative calls a 20 to 30 second timeout, then retry on the next address. For a streamed completion, set the read timeout on the gap between chunks.
  4. Log the proxy and the status with every call, so a slow region shows up in the data.

Per-GB plans for this task

FAQ

Questions about this task

Can I reach the OpenAI or Claude API through these?
Yes, with your own API key and from a region where the provider allows access. The proxy forwards the encrypted connection, and the key and the account stay yours.
How do I set a proxy in the OpenAI or Anthropic Python SDK?
Export HTTPS_PROXY=http://ip:port before you start the script. Both SDKs run on httpx, and httpx reads that variable. To set the proxy in code, pass http_client=httpx.Client(proxy='http://ip:port') to OpenAI() or Anthropic(); httpx releases before 0.26 call the argument proxies.
Do proxies raise the OpenAI or Claude API rate limit?
No. OpenAI applies rate limits to your organization and project, Anthropic to your organization and workspace, whatever IP the request comes from. Spread calls over 20,000 IPs and the limit stays the same, so throttle on your side and back off when the API returns HTTP 429.
Which proxy type suits AI agents?
An agent that calls an API with a key works well on an unlimited package: we do not meter traffic, and you get up to 5,000 threads. An agent that signs in to a web app needs one steady address. Resi Prime holds a sticky session from 3 minutes to 24 hours in the country or city you set, as long as the home device stays online. ISP Proxy pins a US provider IP when you write it into the login, and the address stays while it remains in the pool, often for days.
Does a streamed (SSE) completion survive a rotating proxy?
Yes. A streamed response runs over one connection, so it keeps one exit address until the last chunk arrives, and your script moves to the next IP for the next call. On Resi Prime the home device can go offline mid-stream; retry the call when the stream breaks.
Which region for AI services?
From the CSV export, pick a country where the service is available. World MIX gives the widest pool for general access.
'ChatGPT is not available in your country': can a proxy help?
OpenAI lists the countries it supports, and its terms bind you and your account wherever your traffic exits. A proxy changes the address the API sees and leaves your eligibility as it was, so use proxies for API work your account is allowed to run. The China pool exits from China, which is not on OpenAI's list.
Do the proxies handle large responses and images?
Yes. We do not meter traffic on unlimited packages, so long completions and generated images add nothing to the bill. Give generative calls a longer timeout.
How many parallel calls can I run?
As many as the package threads allow: 300 on China package #13, 500 on package #1, 5,000 on #6. Resi Core and Resi Prime have no thread limit. Your rate limit at the provider still applies.
Plans for this task

Which plan to take for AI work

API calls at volume cost less on an unlimited package. An agent that signs in to a web app works better from a residential address.

Unlimited proxies

API calls at volumeBest fit

Package #3 · World MIX · 20,000 IP · 2,000 threads

We do not meter traffic, so long completions and generated images add nothing to the bill. Package #3 spreads your calls over 20,000 addresses with 2,000 threads.

$595 per monthor $2.30 per hour

Resi Prime

Agents in a web app

30M+ IPs · 220 countries · no thread limit

The ChatGPT or Gemini web app sees one home IP while the exit device stays online. You set the session length from 3 minutes to 24 hours, plus the country or city, in the login string.

from $1.39 per GB1 GB for $2.29

Resi Core

Sites with a captcha

2M+ IPs · 200+ countries · no thread limit

If a service answers package addresses with a captcha, Core gives a fresh home IP from the right country on each request. A text API call uses a few kilobytes, and you pay per gigabyte.

from $0.49 per GB1 GB for $0.85

Run your AI pipeline from the right region

Take the free test hour on a package and send your first calls through the live pool.

Pricing Grab a free hour